		{% if not grid_options_on_top %}
			<table style="width:100%;" cellpadding="4" cellspacing="0">
		{% endif %}

		{% if not include_time_range %}
			<table style="width:100%;" cellpadding="4" cellspacing="0">
		{% endif %}

		{% if include_entry_types %}
			<tr><th align="right">{{template_entry_types}}</th><td>
			{% for i in entry_types|makeRangeFromListLength %}
				{% if entry_types|listLookup:i|notEqualTest:"resource" %}
					<input type="checkbox" name="showEntryType|{{i}}" value="yes" id="{{entry_types|listLookup:i}}"
					{% if entry_types_to_show|listLookup:i %}
						checked
					{% endif %}
					>
					<label for="{{entry_types|listLookup:i}}">{{entry_types_plural_display|listLookup:i}}</label>
				{% endif %}
			{% endfor %}
			<input type="submit" name="changeEntryTypesShowing" value="{{button_change_entry_types_view}}" class="button_small" 
				{% if current_member.showButtonTooltips %}
					title="{{"change_entry_types_view"|buttonTooltip}}"
				{% endif %}
				>
			</td></tr>
		{% endif %}
		
		{% if include_annotation_types %}
			<tr><th align="right">{{template_annotation_types}}</th><td>
			{% for i in annotation_answer_link_types|makeRangeFromListLength %}
				<input type="checkbox" name="showAnnotationAnswerLinkType|{{i}}" value="yes" id="{{annotation_answer_link_types|listLookup:i}}"
				{% if annotation_types_to_show|listLookup:i %}
					checked
				{% endif %}
				>
				<label for="{{annotation_answer_link_types|listLookup:i}}">{{annotation_answer_link_types_plural_display|listLookup:i}}</label>
			{% endfor %}
			<input type="submit" name="changeAnnotationTypesShowing" value="{{button_change_annotation_types_view}}" class="button_small"
				{% if current_member.showButtonTooltips %}
					title="{{"change_annotation_types_view"|buttonTooltip}}"
				{% endif %}
			>
			</td></tr>
		{% endif %}
		
		{% if include_nudges %}
			<tr><th align="right">{{template_nudges}} 
				{% if min_nudge or max_nudge %}
					 <br/>({{template_range}}: {{min_nudge}} {{template_to}} {{max_nudge}})
				{% endif %}
			</th><td>
			<p>
			{% for i in rakontu.nudgeCategories|makeRangeFromListLength %}
				{% if rakontu.nudgeCategories|listLookup:i %}
					<input type="checkbox" name="showCategory|{{i}}" value="yes" id="{{rakontu.nudgeCategories|listLookup:i}}"
					{% if nudge_categories_to_show|listLookup:i %}
						checked
					{% endif %}
					>
					<label for="{{rakontu.nudgeCategories|listLookup:i}}">{{rakontu.nudgeCategories|listLookup:i}}</label>
				{% endif %}
			{% endfor %}
			{% if include_nudge_floor %}
				</p><p>{{template_nudge_floor}}: <input type="text" size="4" value="{{nudge_floor}}" name="nudgeFloor">
			{% endif %}
			<input type="submit" name="changeNudgeCategoriesShowing" value="{{button_change_nudge_view}}" class="button_small"
				{% if current_member.showButtonTooltips %}
					title="{{"change_nudge_view"|buttonTooltip}}"
				{% endif %}
			></p>
			</td></tr>
		{% endif %}
		
		{% if include_filter %}
			<tr><th align="right">{{template_filters}}</th><td>
			{% if shared_filters or member_filters %}
					{% if current_filter %}
						{{current_filter.displayString}}
					{% else %}
						<select name="savedFilter"><option>({{term_choose}})</option>
						{% if member_filters %}
							<option value="">-- {{template_my_filters}} --</option>
							{% for filter in member_filters %}
								<option value="{{filter.key}}">{{filter.displayString}}</option>
							{% endfor %}
						{% endif %}
						{% if shared_filters %}
							<option value="">-- {{template_shared_filters}} --</option>
							{% for filter in shared_filters %}
								<option value="{{filter.key}}">{{filter.displayString}}</option>
							{% endfor %}
						{% endif %}
						</select>
					{% endif %}
				{% if current_filter %}
					<input type="submit" name="stopApplyingFilter" value="{{button_stop_applying}}" class="button_small"
					{% if current_member.showButtonTooltips %}
						title="{{"stop_applying_filter"|buttonTooltip}}"
					{% endif %}
					>
					{% ifnotequal current_member.key current_filter.creator.key %}
						<input type="submit" name="copyFilter" value="{{button_make_copy}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"make_copy_of_filter"|buttonTooltip}}"
						{% endif %}
						>
					{% else %}
						<input type="submit" name="changeFilter" value="{{button_change}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"change_filter"|buttonTooltip}}"
						{% endif %}
						>
					{% endifnotequal %}
					<input type="submit" name="makeNewFilter" value="{{button_make_new_filter}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"make_new_filter"|buttonTooltip}}"
						{% endif %}
					>
				{% else %}
					<input type="submit" name="loadAndApplyFilter" value="{{button_apply}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"apply_filter"|buttonTooltip}}"
						{% endif %}
					>
					<input type="submit" name="makeNewFilter" value="{{button_make_new_filter}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"make_new_filter"|buttonTooltip}}"
						{% endif %}
					>
				{% endif %}	
			{% else %}
				{{template_filters}} - {{template_none}}
				<input type="submit" name="makeNewFilter" value="{{button_make_new_filter}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"make_new_filter"|buttonTooltip}}"
						{% endif %}
				>
			{% endif %}
			{% ifequal location "member" %}
				{{"filtering_for_entries_by_members_or_characters"|tip}}
			{% endifequal %}
			{% ifequal location "character" %}
				{{"filtering_for_entries_by_members_or_characters"|tip}}
			{% endifequal %}
			</td></tr>
		{% endif %}
		
		<tr>
		
		{% if rows_cols %}
		
			<th align="right">{{template_other_options}}</th><td>
			
			{% if show_details %}
				<input type="submit" name="toggleShowDetails" value="{{button_hide_details}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"hiding_details"|buttonTooltip}}"
						{% endif %}
				>
			{% else %}
				<input type="submit" name="toggleShowDetails" value="{{button_show_details}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"showing_details"|buttonTooltip}}"
						{% endif %}
				>
			{% endif %}
			
			{% if show_activity_levels %}
				<input type="submit" name="toggleShowActivityLevels" value="{{button_hide_activity_levels}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"hiding_activity_levels"|buttonTooltip}}"
						{% endif %}
				>
			{% else %}
				<input type="submit" name="toggleShowActivityLevels" value="{{button_show_activity_levels}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"showing_activity_levels"|buttonTooltip}}"
						{% endif %}
				>
			{% endif %}
			
			{% if include_curate %}
				{% if curating %}
					<input type="submit" name="stopCurating" value="{{button_stop_curating}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"turning_curating_on"|buttonTooltip}}"
						{% endif %}
					>
				{% else %}
					<input type="submit" name="startCurating" value="{{button_curate}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"turning_curating_off"|buttonTooltip}}"
						{% endif %}
					>
				{% endif %}
			{% endif %}
	
			{% if include_print and current_member.isLiaison %}
				<input type="submit" name="printFilteredItems" value="{{button_print_selection}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"printing_selections"|buttonTooltip}}"
						{% endif %}
				>
			{% endif %}
			
			{% if include_export and current_member.isManagerOrOwner %}
				<input type="submit" name="exportFilteredItems" value="{{button_export_selection}}" class="button_small"
						{% if current_member.showButtonTooltips %}
							title="{{"exporting_selections"|buttonTooltip}}"
						{% endif %}
				>
			{% endif %}
			
		{% endif %}
		
		</td></tr>
		
		</table>
